package com.zcr.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class Permission {

  @TableId(type= IdType.AUTO)
  private Integer id;
  private String name;
  private String type;
  private String url;
  private String percode;
  private Integer parentid;
  private String parentids;
  private String sortstring;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public String getPercode() {
    return percode;
  }

  public void setPercode(String percode) {
    this.percode = percode;
  }


  public Integer getParentid() {
    return parentid;
  }

  public void setParentid(Integer parentid) {
    this.parentid = parentid;
  }


  public String getParentids() {
    return parentids;
  }

  public void setParentids(String parentids) {
    this.parentids = parentids;
  }


  public String getSortstring() {
    return sortstring;
  }

  public void setSortstring(String sortstring) {
    this.sortstring = sortstring;
  }

  @Override
  public String toString() {
    return "Permission{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", type='" + type + '\'' +
            ", url='" + url + '\'' +
            ", percode='" + percode + '\'' +
            ", parentid=" + parentid +
            ", parentids='" + parentids + '\'' +
            ", sortstring='" + sortstring + '\'' +
            '}';
  }
}
